package com.daka.service;


import com.daka.entity.Activity;
import com.daka.entity.Member;
import com.daka.tools.Page;
import com.daka.vo.response.ActivityResponseVo;

import java.util.List;

/**
 * Created by yangx
 * Date: 2016/8/5 0005
 * Time: 14:45
 */
public interface ActivityService {

    int insert(Activity po);

    int update(Activity po);

    Activity selectByPrimaryKey(Integer id);

    Activity selectByActCode(String activityCode);

    List<Activity> selectByStatement(Activity po);

    Page<ActivityResponseVo> selectByGroup(String groupCode,String pageNo);

    Page<ActivityResponseVo> selectByMember(String memberID,String pageNo);

    //状态正常的活动
    List<Activity> selectApplyByUser(Integer member);
}
